#include <reg52.h>

#define LED_DROP P2

void delay(unsigned int ten)
{
	while(ten--);
}

unsigned char i;

void main()
{
	while(1)
	{
		for(i = 0;i < 9;i++)
		{
			LED_DROP = 0xff << i;
			delay(10000);
		}
	}
}